package com.aivin.web;

import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;


@RestController
@RequestMapping("/*")//
public class My_404_500_Controller {
    private final static String URL_404 = "My404";

    @RequestMapping(value = "/error_404")
    public ModelAndView error_404() {
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName(URL_404);
        return modelAndView;
    }


}

